<?xml version="1.0"?>
<!--
    ***** BEGIN LICENSE BLOCK *****
    
    Copyright © 2022 Corporation for Digital Scholarship
                     Vienna, Virginia, USA
                     https://www.zotero.org
    
    This file is part of Zotero.
    
    Zotero is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    
    Zotero is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.
    
    You should have received a copy of the GNU Affero General Public License
    along with Zotero.  If not, see <http://www.gnu.org/licenses/>.
    
    ***** END LICENSE BLOCK *****
-->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero/skin/progressWindow.css"?>
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">

<window id="zotero-progress"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
		xmlns:html="http://www.w3.org/1999/xhtml"
		title="&zotero.progress.title;"
        no-titlebar-icon="true"
        drawintitlebar-platforms="win,linux"
        style="min-width: 300px"
        windowtype="alert:alert">
		
	<vbox id="zotero-progress-text-box" flex="1" style="padding: 10px">
		<hbox id="zotero-progress-text-headline" align="stretch">
			<label id="progress-label" flex="1"/>
		</hbox>
	</vbox>
	<script>
        var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
        var { Zotero } = ChromeUtils.importESModule("chrome://zotero/content/zotero.mjs");
        Services.scriptloader.loadSubScript("chrome://zotero/content/titlebar.js", this);
		window.addEventListener("DOMContentLoaded", () => window.sizeToContent())
	</script>
</window>
